package javapoker;

import java.util.ArrayList;
import java.util.Random;



public class Boty {
	
	public static ArrayList<Karta> kartyBot1;

	Random generator1 = new Random();
	int y = generator1.nextInt(5);
	{
	
	
	
	kartyBot1 = new ArrayList<Karta>();
    int index_1, index_2;
    Random generator = new Random();
    Karta temp;

    for (short a=0; a<=3; a++)
    {
        for (short b=0; b<=12; b++)
         {
           kartyBot1.add( new Karta(a,b) );
         }
    }

    int size = kartyBot1.size() -1;

    for (short i=0; i<200; i++)
    {
        index_1 = generator.nextInt( size );
        index_2 = generator.nextInt( size );

        temp = (Karta) kartyBot1.get( index_2 );
        kartyBot1.set( index_2 , kartyBot1.get( index_1 ) );
        kartyBot1.set( index_1, temp );
    }
    
}
	
	
	

}
